//---------------------------------------------------------------------------

#ifndef PROSM_LICH
#define PROSM_LICH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxClasses.hpp"
#include "dxBar.hpp"
#include "cxButtons.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include <Menus.hpp>
#include "DBCtrlsEh.hpp"
#include <DBCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Mask.hpp>
#include "Fr_Adres.h"
#include <DB.hpp>
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxDBData.hpp"
#include "cxFilter.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridDBTableView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxStyles.hpp"
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <ComCtrls.hpp>
#include <ActnList.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrPROSM_LIC : public TForm
{
__published:	// IDE-managed Components
	TcxGroupBox *gbPanel;
	TcxButton *btMounth;
	TcxButton *btPribori;
	TcxButton *btSchetchik;
	TPanel *pEdit;
	TGroupBox *gbTEK_MONTH;
	TcxGrid *sgTEK_MONTH;
	TcxGridDBTableView *sgTEK_MONTHDBTableView1;
	TcxGridDBColumn *sgTEK_MONTHDBTableView1KOD;
	TcxGridDBColumn *sgTEK_MONTHDBTableView1NAIM;
	TcxGridDBColumn *sgTEK_MONTHDBTableView1Column1;
	TcxGridDBColumn *sgTEK_MONTHDBTableView1Column2;
	TcxGridDBColumn *sgTEK_MONTHDBTableView1Column3;
	TcxGridLevel *sgTEK_MONTHLevel1;
	TcxGridDBColumn *sgTEK_MONTHDBTableView1Column4;
	TcxGridDBColumn *sgTEK_MONTHDBTableView1Column5;
	TcxGridDBColumn *sgTEK_MONTHDBTableView1Column6;
	TcxGridDBColumn *sgTEK_MONTHDBTableView1Column7;
	TPanel *pTable;
	TGroupBox *gbTable;
	TLabel *Label1;
	TLabel *Label2;
	TLabel *Label3;
	TLabel *Label4;
	TDBEdit *dbFIO;
	TDBDateTimeEditEh *dtpDataDog;
	TDBDateTimeEditEh *dtpDateSver;
	TGroupBox *gbAdres;
	TGroupBox *gbNAS_PUNKT;
	TLabel *Label6;
	TLabel *Label7;
	TDBEdit *dbeNAS_PUNKT;
	TDBEdit *dbeVU;
	TDBEdit *dbeUL;
	TGroupBox *gbDom;
	TLabel *Label8;
	TDBEdit *dbeDOM;
	TDBEdit *dbeBUKVA_D;
	TDBEdit *dbeKORPUS;
	TGroupBox *gbKv;
	TDBEdit *dbeKV;
	TDBEdit *dbeBUKVA_KV;
	TDBEdit *dbeKOD;
	TGroupBox *gbP1;
	TLabel *Label5;
	TDBText *labKOLJ;
	TLabel *Label9;
	TDBText *labKOL_LG;
	TLabel *Label10;
	TDBText *labKOL_BR;
	TLabel *Label11;
	TLabel *Label12;
	TLabel *Label13;
	TLabel *labNAIM_TARIF;
	TLabel *Label15;
	TLabel *Label14;
	TLabel *Label16;
	TLabel *Label17;
	TDBText *labTEL_D;
	TLabel *Label18;
	TDBText *labTEL_R;
	TGroupBox *gbP3;
	TLabel *Label23;
	TDBText *labNORMA_L;
	TLabel *Label24;
	TDBText *labNORMA_Z;
	TGroupBox *gbP2;
	TLabel *Label19;
	TLabel *Label20;
	TLabel *Label21;
	TDBText *labPLIT;
	TDBText *labKOL_KOTL;
	TDBText *labKOL_BPG;
	TLabel *Label22;
	TDBText *labAREA;
	TGroupBox *gbPRIBOR;
	TDBGrid *sgF_PRIB;
	TDBText *DBText1;
	TStatusBar *sb1;
	TActionList *ActionList1;
	TAction *PROSM_OPLAT;
	TAction *PROSM_NATH;
	TIBCQuery *dsetPROSM_LIC;
	TIBCDataSource *dsPROSM_LIC;
	TGroupBox *gbCounter;
	TGroupBox *grpSc2;
	TLabel *lbl2;
	TLabel *lbl3;
	TLabel *lbl4;
	TLabel *lbl5;
	TLabel *lbl6;
	TDBText *labPLOMB;
	TDBText *labDATA_PLOMB;
	TDBText *labRAZR;
	TGroupBox *grpSc3;
	TLabel *lbl7;
	TLabel *lbl8;
	TLabel *lbl9;
	TDBText *labDATA_IZG;
	TDBText *labIZGOTOV;
	TLabel *lbl1;
	TDBText *labISPOLN;
	TGroupBox *grpSc4;
	TLabel *lbl10;
	TLabel *lbl11;
	TLabel *lbl12;
	TDBText *labPOK_UST;
	TDBText *labKON_POK;
	TDBText *labPOK_BANKA;
	TGroupBox *grp1;
	TLabel *lbl13;
	TDBText *labDAT_POV;
	TDBText *labDATA_ZAM;
	TLabel *lbl14;
	TGroupBox *grpSc1;
	TLabel *lbl15;
	TLabel *lbl16;
	TLabel *lbl17;
	TLabel *lbl18;
	TLabel *lbl19;
	TDBText *labKOD;
	TDBText *labMARKA;
	TDBText *labMODEL;
	TDBText *labDATA_UST;
	TDBText *labZAV_NOM;
	TDBText *labMesto;
	TDBText *labKemPlomb;
	TDBText *labRezba;
	TDBText *labVID_GAZA;
	TDBText *labOPLATA_PO;
	void __fastcall FormShow(TObject *Sender);
	void __fastcall FormKeyPress(TObject *Sender, char &Key);
	void __fastcall btMounthClick(TObject *Sender);
	void __fastcall btPriboriClick(TObject *Sender);
	void __fastcall btSchetchikClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
int NOM;
	__fastcall TfrPROSM_LIC(TComponent* Owner);
	void __fastcall TfrPROSM_LIC::Obnovi();
	void __fastcall TfrPROSM_LIC::Clear();

};
//---------------------------------------------------------------------------
extern PACKAGE TfrPROSM_LIC *frPROSM_LIC;
//---------------------------------------------------------------------------
#endif
